package net.orange.architecture.audit;

/**
 * Object can be observer by IAuditor.
 */
public interface IAuditable {
	/**
	 * Add the auditor.
	 * @param auditor The auditor need to add.
	 */
	public void addAuditor(IAuditor auditor);
	/**
	 * Remove the auditor.
	 * @param auditor The auditor need to removed.
	 */
	public void removeAuditor(IAuditor auditor);
	/**
	 * Update the log.
	 */
	public void notifyAuditor(IAuditInfo info);
}
